<?php
$n = date('Y-m-d : H:i:s',time());
//echo $n;die;
function times($n)
{
//    print_r($n);
    $num = n;
    $arr = [];
    for($i = 0;$i<=$num;$i++)
    {
        $i = $n;
        $arr[] = $i;
    }
    return $arr;
}
echo times($n);